<template>
	<view class="">
		<!-- <view class="" v-for="(item, index) in newNovelList">
			123
		</view> -->
		
		<slot name="gg" :num="num"></slot>
	</view>
		
</template>

<script>
	export default {
		name: "novel_recommended",
		data() {
			return {
				num: 123
			};
		},
		props: ["re_men_List", "classicList", "newNovelList", "obj"],

		onLoad() {
		},

		methods: {
			goClassify(e) {
				uni.navigateTo({
					// 这里也暂时用这个先代替，因为还没有具体的那些， 数据库，日后改进， 这里先用这个测试
					url: '../../subpkg/novel_classify/novel_classify'
				})
			},
		}
	}
</script>

<style lang="scss">
	.recommend_box {
		margin: 30rpx 20rpx;

		.recommend_title {
			.title {
				font-weight: 700;
				color: #000;
				font-size: 24px;
			}

			.btn_more {
				display: flex;
			}

			display: flex;
			justify-content: space-between;
			align-items: center;
			font-size: 14px;
			color: #949bad;
		}
	}

	.recommend_content {
		display: flex;
		flex-wrap: wrap;

		.content_box {
			display: flex;
			flex-direction: column;
			width: 160rpx;
			// box-shadow: 5px 5px 5px rgba(0,0,0,.3);
			margin: 20rpx 9rpx;

			.novel_title {
				word-break: break-all;
				display: -webkit-box;
				-webkit-line-clamp: 2;
				-webkit-box-orient: vertical;
				overflow: hidden;
				// text-overflow: ellipsis;
			}

			image {
				width: 160rpx;
				height: 216rpx;
			}
		}
	}

	.remenContent {
		display: flex;

		.novelImg {
			margin: 20rpx 20rpx;

			image {
				// 145 190 116 152
				height: 304rpx;
				width: 232rpx;
			}
		}

		.novelInfo {
			margin-left: 20rpx;
			margin-top: 20rpx;

			.title {
				font-weight: 700;
			}

			.info {
				font-size: 14px;
				word-break: break-all;
				display: -webkit-box;
				-webkit-line-clamp: 3;
				-webkit-box-orient: vertical;
				overflow: hidden;
				margin: 20rpx 0;
			}

			.other {
				font-size: 12px;
				display: flex;

				.author,
				.number {
					margin: 20rpx 20rpx;
					color: #949bad;
				}

				.author {
					margin-left: 0;
				}
			}
		}
	}
</style>
